package com.snu.liwei.lyl_api.service;


import com.snu.liwei.lyl_api.mapper.CreateMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;

@Service
public class CreateService {

    @Autowired
    CreateMapper createMapper;

    public void create(String username, String c_name,String c_path, Date date){

        createMapper.create(username,c_name,c_path,date);
    }

    public String exist(String c_name){
        return createMapper.exist(c_name);
    }


}
